package org.road0329.tools.proto_parse_tool.ems.dataobject.gw.afn04;

import org.road0329.tools.proto_parse_tool.chargingpile.MsgCommData;

/**
 * AFN:04 <br>
 * F1:终端上行通信口通信参数设置
 * 
 * @author zoe
 */
public class RtuParamF1 extends MsgCommData {

    private short rts;             // 终端数传机延时时间RTS,单位:20ms
    private short startDelayTimes; // 终端作为启动站允许发送传输延时时间,单位：min
    private short responseTimes;   // 终端等待从动站响应的超时时间，单位：秒
    private short sendCount;       // 终端等待从动站响应的重发次数，单位：次
    private short con;             // 需要主站确认的通信服务（CON=1）的标志
    private short heartbeatCycle;  // 心跳周期，单位：min

    public short getRts() {
        return rts;
    }

    public void setRts(short rts) {
        this.rts = rts;
    }

    public short getStartDelayTimes() {
        return startDelayTimes;
    }

    public void setStartDelayTimes(short startDelayTimes) {
        this.startDelayTimes = startDelayTimes;
    }

    public short getResponseTimes() {
        return responseTimes;
    }

    public void setResponseTimes(short responseTimes) {
        this.responseTimes = responseTimes;
    }

    public short getSendCount() {
        return sendCount;
    }

    public void setSendCount(short sendCount) {
        this.sendCount = sendCount;
    }

    public short getCon() {
        return con;
    }

    public void setCon(short con) {
        this.con = con;
    }

    public short getHeartbeatCycle() {
        return heartbeatCycle;
    }

    public void setHeartbeatCycle(short heartbeatCycle) {
        this.heartbeatCycle = heartbeatCycle;
    }

}
